# _*_ codeing : utf-8 _*_
# @Time : 2024-05-09
# @Author : wxp
# @File : 5 元组-Tuple
# @Project : wxp-python

# 运行主函数
if __name__ == '__main__':
    # ==============元组类型===================>
    # () 定义元组
    tuple = (18, 19, 20, 20)
    print(tuple)
    # 循环获取数据
    for e in tuple:
        print(f'{e}')

    # 输出类型
    print(f'tuple的类型为：{type(tuple)}')
